<?php

namespace app\admin\controller;

class ApkUpload extends AdminBase
{
    public function index()
    {
        if(request()->isPost()){
            $upload = new Upload();
            $res = $upload->uploadApk();
            if($res){
                $this->success('上传成功','index');
            }else{
                $this->error('上传成功，请重试');
            }
        }
        return $this->fetch();
    }
}
